package com.boot.security.server.common;

import io.swagger.annotations.ApiModelProperty;

/**
 * 分页查询参数
 *
 * @author: bruce.cheng
 */
public class PagedQueryParam extends Base {
    /**
     * 分布页码，默认值为1
     */

    @ApiModelProperty(value = "分布页码，默认值为1", example = "1", required = true)
    private int pageIndex = 1;
    /**
     * 每页的条数，默认值为10
     */
    @ApiModelProperty(value = "每页的条数，默认值为10", example = "10", required = true)
    private int pageCount = 10;

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }
}